﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace ProjectWizardManagement.Entity.Model
{
    public class CalendarEvent
    {
        [XmlElement("Id")]
        [Key]
        public int Id { get; set; }

        [XmlElement("Name")]
        [Display(Name = "Event Name")]
        public string EventName { get; set; }

        [XmlElement("Description")]
        public string Description { get; set; }

        [XmlElement("IsSendingNotification")]
        [Display(Name = "Is Sending Notification")]
        public bool IsSendingNotification { get; set; }

        [XmlElement("ScheduledDate")]
        [Display(Name = "Scheduled Date")]
        [DataType(DataType.Date)]
        public DateTime ScheduledDate { get; set; }

        [XmlElement("IsGlobalEvent")]
        [Display(Name = "Is Global Event")]
        public bool IsGlobalEvent { get; set; }
    }
}
